package com.liziba.rpc;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        // 动态代理
        RpcClientProxy rpcClientProxy = new RpcClientProxy();
        ISayHelloService iSayHelloService = rpcClientProxy.cilentProxy(ISayHelloService.class, "localhost", 8080);
        System.out.println(iSayHelloService.sayHello("liziba!"));
    }
}
